<template>
	<view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				search: {"number":"","materialParam":"","type":"其它","subType":"采购订单","roleType":"全部数据","organId":"","depotId":"","creator":"","status":"","remark":""},
				column: 'createTime',
				order: 'desc',
				field: 'id,,action,organName,number,materialsList,operTimeStr,userName,materialCount,totalPrice,totalTaxLastMoney,changeAmount,status',
				currentPage: 1,
				pageSize: 10
			}
		},
		onLoad(event) {
			this.add_bill();
		},
		methods: {
			add_bill()
			{
				let data = {
					search:this.search,
					column:this.column,
					order:this.order,
					field:this.field,
					currentPage:this.currentPage,
					pageSize:this.pageSize
					}
				this.$api.getCurrentInfo(data,res=>{
					console.log(res);
				});
				this.$api.getDepotHeadList(data,res=>{
					console.log(res);
				})
			}
		}
	}
</script>

<style>

</style>
